<html>
<body>
<div id="header">
<p style="font-family: Times New Roman, serif; font-size: 45pt; padding-top: 17px;">
Showing Utility Settings
</p>
</div>
<div id="main">

<p id="notice"><%= notice %></p>

<p>
  <b>Peak Start:</b>
  <%= @utility_setting.peak_start.strftime("%X") %>
</p>

<p>
  <b>Peak End:</b>
  <%= @utility_setting.peak_end.strftime("%X") %>
</p>

<p>
  <b>Peak Price:</b>
  $<%= @utility_setting.peak_price %>0/kWh
</p>

<p>
  <b>Off-Peak Price:</b>
  $<%= @utility_setting.off_peak_price %>0/kWh
</p>

<p>
  <b>Override Level:</b>
  <%= if @utility_setting.override_lvl == 1
  		'Engage Full Control'
  	  elsif @utility_setting.override_lvl == 2
  	  	'Engage Control Over Priority 2 & 3'
  	  elsif @utility_setting.override_lvl == 3
  	  	'Engage Control Over Priority 3'
  	  elsif @utility_setting.override_lvl == 4
  	  	'Override Off'
  	  end %>
</p>
<!--
<p>
  <b>Override Status:</b>
  <%= @utility_setting.OR_status %>
</p>
-->
</div>
<div id="footer">

<%= link_to 'Edit', edit_utility_setting_path(@utility_setting) %> |
<%= link_to 'Back', utility_settings_path %>
</div>
</body>
</html>
